package com.zecan.blog.common.status;

import com.zecan.blog.common.status.code.StarGoodCode;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName StarGoodStatus
 * @Description
 * @date 2022/11/17 9:35
 * @Version 1.0
 */
@Getter
@AllArgsConstructor
public enum StarGoodStatus {

    USER_GOOD_ARTICLE_SUCCESS(StarGoodCode.USER_GOOD_ARTICLE_SUCCESS,"点赞成功"),
    USER_STAR_ARTICLE_SUCCESS(StarGoodCode.USER_STAR_ARTICLE_SUCCESS,"收藏成功"),
    USER_CANCEL_STAR_ARTICLE_SUCCESS(StarGoodCode.USER_CANCEL_STAR_ARTICLE_SUCCESS,"取消收藏成功"),
    USER_CANCEL_GOOD_ARTICLE_SUCCESS(StarGoodCode.USER_CANCEL_GOOD_ARTICLE_SUCCESS,"取消点赞成功"),

    USER_CANCEL_STAR_UNKNOWN_ERR(StarGoodCode.USER_CANCEL_STAR_UNKNOWN_ERR,"删除收藏时发生未知异常");
    int code;
    String msg;
}
